<!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css" integrity="sha384-Xi8rHCmBmhbuyyhbI88391ZKP2dmfnOl4rT9ZfRI7mLTdk1wblIUnrIq35nqwEvC" crossorigin="anonymous">
    <style>
      html, body {
        margin: 0;
        font-size: 2em;
        width: 9999px;
        overflow: hidden
      }
      body {
        background: white;
      }
      #container {
        display: inline-block;
        padding: 5px;
      }
    </style>
  </head>
  <body>
    <div id="container">{{@texHtml}}</div>
  </body>
</html>